<?php
session_start();
if (!isset($_SESSION['id'])) {
    header("Location: http://www.google.com/");
}
include('inc/config.php');

?>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <meta name="Hasan" content="EC" />
        <!--  CSS   -->
        <link href="css/en/mycss.css" rel="Stylesheet" type="text/css" />
        <link href="css/en/header.css" rel="Stylesheet" type="text/css" />
        <link href="css/en/footer.css" rel="Stylesheet" type="text/css" />
        <link href="css/en/companyAddProduct.css" rel="Stylesheet" type="text/css" />
        <link href="css/en/admin.css" rel="Stylesheet" type="text/css" />
        <link rel="shortcut icon" href="favicon.ico" />
        <!--  JS   -->
        <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
        <script src="js/header.js"></script>
        <script src="js/products.js"></script>
        <script src="js/admin.js"></script>


        <title>Mobizoo Mobiles - Products</title>
    </head>

    <!-- BODY -->
    <body>
        <div id="addingProduct">
            <p>processing...</p>
            <img src="images/loading.gif"/>
        </div>
        <div id="successAdding">
            <p>Success :D</p>
            <img width="40px" src="images/added.png"/>
        </div>
        <!-- ********************************* -->
        <!-- header -->
        <!-- ********************************* -->
        
<?php
        $sql="select * from bought_product";
        
        include('inc/header.php');
        ?>

        <div id="adminContainer">
            <div id="adminNavArea">
                <ul>
                    <a href="javascript:void(0);"><li content="addProduct" class="adminNav"  >
                            <?=$admin_AddProduct ?>
                        </li></a> 
                    <a href="javascript:void(0);"><li  content="manageProducts" class="adminNav" >
                            <?=$admin_ManageProduct ?>
                        </li></a>
                    <a href="javascript:void(0);"><li  content="manageUsers" class="adminNav" >
                            <?=$admin_ManageUsers ?>
                        </li></a>
                    <a href="javascript:void(0);"><li  content="addNews" class="adminNav" >
                            <?=$admin_AddNews?>
                        </li></a>
                </ul>
            </div>

            <div id="adminOptionArea">
            </div>
        </div>

        <!-- ********************************* -->
        <!-- footer -->
        <!-- ********************************* -->
        <?php
        include('inc/footer.php');
        ?>

    </body>
</html>